package gps.flyingobject;

public class FlyingObject {
	private final int MAX_VELOCITY = 150; //in km/h
	
	int velocity;
	int direction; // 0 - North, 30 - East, 60 - South, 90 - West
	
	public void setThrottle(int throttle) {
		// 0 <= throttle <= 100
		velocity = (throttle/100) * MAX_VELOCITY;
	}
   
  public void setVelocity(int newVelocity) {
    velocity = newVelocity;
  }
}
